import type Login_Logins from "@/dto/request/login_logins";
import type Response_Dto from "@/dto/response/Api_Result";
import request from '@/utils/request'
export const logins=(obj:Login_Logins):Promise<Response_Dto>=>{
    return request({
        url: 'api/login/logins',
        method: "post",
        data: obj
    });
}
export const check_login = (): Promise<Response_Dto> => {
    return request({
        url: 'api/login/check_login',
        method: "get"
    });
}